package corsi.hibernate.demo.transazioni.dao;

import java.io.Serializable;

import corsi.hibernate.demo.transazioni.domain.AbstractValueObject;
import corsi.hibernate.demo.transazioni.services.exception.DaoException;

public interface GenericDao {

	public void insert(AbstractValueObject daInserire) throws DaoException;
	
	public void update(AbstractValueObject daModificare) throws DaoException;
	
	public void delete (AbstractValueObject daCancellare) throws DaoException;
	
	public AbstractValueObject findById(Class classe, Serializable Id)throws DaoException;
	
}
